package com.me.web.shop;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.me.web.base.BaseController;

@RestController
public class IndexController extends BaseController{

	@RequestMapping("/index")
	public void index(HttpServletRequest req,HttpServletResponse res){
		try {
			res.getWriter().write("hello");
		} catch (IOException e) {
			e.printStackTrace();
		}
		
	}
	
}
